package com.ggbz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评分大类表，存储评分的大类信息，例如竞赛、实践等，每个大类包含权重
 * </p>
 *
 * @author ggbz
 * @since 2025-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("evaluation_categories")
@ApiModel(value="EvaluationCategories对象", description="评分大类表，存储评分的大类信息，例如竞赛、实践等，每个大类包含权重")
public class EvaluationCategories implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "评分大类ID，主键")
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    @ApiModelProperty(value = "评分大类名称")
    private String categoryName;

    @ApiModelProperty(value = "评分大类描述")
    private String categoryDescription;

    @ApiModelProperty(value = "该评分大类的权重")
    private Float weight;


}
